include(../../../mkspecs/qmake/app.pri)
include(../../../mkspecs/qmake/version.pri)

QT              -= core gui

TARGET           = app-dos$${DEBUG_POSTFIX}

TEMPLATE         = app

CONFIG          += console
CONFIG          -= app_bundle

SOURCES         += app-dos.cpp
win32::RC_FILE   = app-dos.rc

INCLUDEPATH     += \
                   $${CYG_INC_PATH}/mod1-shared-ab \
                   $${CYG_INC_PATH}/mod2-shared-ab

LIBS            += -lmod1-shared-ab$${DEBUG_POSTFIX}
LIBS            += -lmod2-shared-ab$${DEBUG_POSTFIX}

# Install app run scripts
win32:run.files += app-dos$${DEBUG_POSTFIX}.bat
unix:run.files  += app-dos$${DEBUG_POSTFIX}.sh
INSTALLS        += run

# Install configure files
config.files    += app-dos.json
INSTALLS        += config
